package com.york.auth.domain.convert;

import com.york.auth.domain.entity.AuthRolePermissionBO;
import com.york.auth.infra.basic.entity.AuthRolePermission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * BO转换器
 */
@Mapper
public interface AuthRolePermissionBOConverter {
    // 返回实现接口的实例
    AuthRolePermissionBOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionBOConverter.class);

    AuthRolePermission convertBOToEntity(AuthRolePermissionBO authRolePermissionBO);

}